From: Demon Date: Mon, 14 Jan 2013 11:48:31 +0000 (+0000) Subject: Merge "Removed useless keys() function from BagOStuff." X-Git-Tag: 1.31.0-rc.0~21044 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=0e5f53d262825e0859c609e47c56d94665d33e90;p=lhc%2Fweb%2Fwiklou.git Merge "Removed useless keys() function from BagOStuff." --- 0e5f53d262825e0859c609e47c56d94665d33e90 diff --cc includes/objectcache/BagOStuff.php index 32afe13249,27b6dce296..03b0d5b920 --- a/includes/objectcache/BagOStuff.php +++ b/includes/objectcache/BagOStuff.php @@@ -195,18 -92,10 +195,9 @@@ abstract class BagOStuff * @return bool success */ public function unlock( $key ) { - /* stub */ - return true; + return $this->delete( "{$key}:lock" ); } - /** - * @todo: what is this? - * @return Array - */ - public function keys() { - /* stub */ - return array(); - } - /** * Delete all objects expiring before a certain date. * @param $date string The reference date in MW format